package com.my_GWT_MVP.app.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HTMLPanel;
import com.google.gwt.user.client.ui.RootPanel;

/**
 * Created by IntelliJ IDEA.
 * User: Jared
 * Date: 2/06/11
 * Time: 2:01 PM
 */
public class Gwt_mvp extends Composite implements EntryPoint {
    interface Gwt_mvpBinder extends UiBinder<HTMLPanel, Gwt_mvp> {}

    Gwt_mvpBinder ourBinder = GWT.create(Gwt_mvpBinder.class);

    @UiField
    Button testButton;

    Gwt_mvp() {
        HTMLPanel rootElement = ourBinder.createAndBindUi(this);
        initWidget(rootElement);
    }

    public void onModuleLoad()
    {
        Gwt_mvp home = new Gwt_mvp();
        RootPanel.get().add(home);
    }
}
